from django.urls import path,re_path
from course.views import HomeCateView,CourseView,CateParent,CateSon,CourseCatePage
urlpatterns = [
    path('homecate/',HomeCateView.as_view()),
    path('course/',CourseView.as_view()),
    path('parent/',CateParent.as_view()),
    path('son/',CateSon.as_view()),
    re_path(r'^page/(?P<directionID>\d+)/(?P<categoryID>\d+)/$',CourseCatePage.as_view()),
]